package com.bao.demo.work.test01;

public class Programmer extends Employee{
    private String language="java";

    public Programmer(String id, String name, int age, int money, String language) {
        super(id, name, age, money);
        this.language = language;
    }

    public Programmer() {
        super();
    }

    public Programmer(String id, String name, int age, int money) {
        super(id, name, age, money);
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    @Override
    public String getInfo() {
        return super.getInfo()+", language="+language;
    }
}
